package com.ruoyi.room.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预售发放记录对象 t_room_draw_presale
 * 
 * @author ruoyi
 * @date 2025-09-19
 */
public class RoomDrawPresale extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 房间id */
    @Excel(name = "房间id")
    private Long roomId;

    /** 商品id */
    @Excel(name = "商品id")
    private Long goodId;

    /** 商品等级id */
    @Excel(name = "商品等级id")
    private Long goodLevelId;

    /** 房间名称 */
    @Excel(name = "房间名称")
    private String roomName;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodName;

    /** 商品等级名称 */
    @Excel(name = "商品等级名称")
    private String goodLevelName;

    /** 商品数量 */
    @Excel(name = "商品数量")
    private Long num;

    /** 是否发放奖励(0:未发放 1:已发放) */
    @Excel(name = "是否发放奖励(0:未发放 1:已发放)")
    private Integer isGrant;

    private String phone;

    private String nickName;

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setRoomId(Long roomId) 
    {
        this.roomId = roomId;
    }

    public Long getRoomId() 
    {
        return roomId;
    }

    public void setGoodId(Long goodId) 
    {
        this.goodId = goodId;
    }

    public Long getGoodId() 
    {
        return goodId;
    }

    public void setGoodLevelId(Long goodLevelId) 
    {
        this.goodLevelId = goodLevelId;
    }

    public Long getGoodLevelId() 
    {
        return goodLevelId;
    }

    public void setRoomName(String roomName) 
    {
        this.roomName = roomName;
    }

    public String getRoomName() 
    {
        return roomName;
    }

    public void setGoodName(String goodName) 
    {
        this.goodName = goodName;
    }

    public String getGoodName() 
    {
        return goodName;
    }

    public void setGoodLevelName(String goodLevelName) 
    {
        this.goodLevelName = goodLevelName;
    }

    public String getGoodLevelName() 
    {
        return goodLevelName;
    }

    public void setNum(Long num) 
    {
        this.num = num;
    }

    public Long getNum() 
    {
        return num;
    }

    public void setIsGrant(Integer isGrant) 
    {
        this.isGrant = isGrant;
    }

    public Integer getIsGrant() 
    {
        return isGrant;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("roomId", getRoomId())
            .append("goodId", getGoodId())
            .append("goodLevelId", getGoodLevelId())
            .append("roomName", getRoomName())
            .append("goodName", getGoodName())
            .append("goodLevelName", getGoodLevelName())
            .append("num", getNum())
            .append("isGrant", getIsGrant())
            .toString();
    }
}
